package com.color.admin.system.entity.vo.dict;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * @author HaiQiu
 * @date 2022/1/19
 */
public class DictVo {

    private String id;

    @Schema(example = "sex",description = "字典码")
    private String code;

    @Schema(example = "性别",description = "字典名称")
    private String name;

    @Schema(example = "性别描述",description = "字典描述")
    private String description;

    @Schema(example = "0",description = "父级ID")
    private String parentId;

    @Schema(example = "true", type = "boolean",description = "激活：true激活，false禁用")
    private Boolean active;

    @Schema(example = "0", type = "integer",description = "排序")
    private Integer sort;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public Boolean getActive() {
        return active;
    }

    public void setActive(Boolean active) {
        this.active = active;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }
}
